package com.edu.chapter09_kotlin;

import org.junit.Test;

public class TextSyntax {
    @Test
    public  void textMain() {
        int i = 10;
        String s = switch (i) {
            case 1 -> "System.out.println(1)";
            case 2, 3, 4, 5 -> "System.out.println(i)";
            default -> "System.out.println()";
        };

        System.out.println(s);
    }
}
